package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

/**
 * 玩家矿战门客数据
 */
public class UserMineWarPatronsData extends DataObject {

	private long userId;

	private int patronsId;
	/**
	 * 门客当天挑战次数
	 */
	private int battleTimes;
	/**
	 * 门客当天挑战购买次数
	 */
	private int buyBattleTimes;

	private int dispatchMine;          //派遣到矿产类型，0：未派遣； 1：到公共矿产； 2：到自己矿产

	private long modifyTime;

	private int type;

	private int pitId;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		if (this.userId != userId) {
			this.userId = userId;
			setUpdateOption();
		}
	}

	public int getPatronsId() {
		return patronsId;
	}

	public void setPatronsId(int patronsId) {
		if(this.patronsId != patronsId) {
			this.patronsId = patronsId;
			setUpdateOption();
		}
	}

	public int getBattleTimes() {
		return battleTimes;
	}

	public void setBattleTimes(int battleTimes) {
		if(this.battleTimes != battleTimes) {
			this.battleTimes = battleTimes;
			setUpdateOption();
		}
	}

	public int getBuyBattleTimes() {
		return buyBattleTimes;
	}

	public void setBuyBattleTimes(int buyBattleTimes) {
		if(this.buyBattleTimes != buyBattleTimes) {
			this.buyBattleTimes = buyBattleTimes;
			setUpdateOption();
		}
	}

	public int getDispatchMine() {
		return dispatchMine;
	}

	public void setDispatchMine(int dispatchMine) {
		if(this.dispatchMine != dispatchMine) {
			this.dispatchMine = dispatchMine;
			setUpdateOption();
		}
	}

	public long getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(long modifyTime) {
		if(this.modifyTime != modifyTime) {
			this.modifyTime = modifyTime;
			setUpdateOption();
		}
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		if(this.type != type) {
			this.type = type;
			setUpdateOption();
		}
	}

	public int getPitId() {
		return pitId;
	}

	public void setPitId(int pitId) {
		if(this.pitId != pitId) {
			this.pitId = pitId;
			setUpdateOption();
		}
	}
}
